@charset "UTF-8";
@import "reset";
//共用属性
@mixin margin0auto {
    margin: 0 auto;
}

@mixin content {
    width: 322px;
    height: 101px;
    >img {
        width: 72px;
        height: 101px;
    }
    //电影名&评论
    >.filmAndcomment {
        width: 235px;
        height: auto;
        margin-left: 15px;
        >a:first-child {
            font-size: 13px;
            color: black;
        }
        >a:nth-child(2) {
            color: red;
            font-size: 12px;
        }
        //电影介绍
        .filmMsg {
            width: 227px;
            height: auto;
            font-size: 12px;
            margin-top: 16px;
            >a:first-child {
                color: rgb(37, 156, 157);
            }
            >a:last-child {
                color: red;
            }
        }
        >img {
            width: 10px;
            height: 12px;
            vertical-align: middle;
            margin-top: -8px;
        }
        >span {
            display: inline-block;
            font-size: 12px;
            margin: 13px 0px 0px 5px;
            margin-top: 13px;            
        }
    }
}

//主要内容容器
.content {
    width: 325px;
    @include margin0auto;
    background: rgb(247,247,247);
    margin-top: 100px;
    padding: 0px 1px;
    //主要内容
    .film {
        width: 100%;
        height: 100%;
        font-size: 0;
        >li {
            display: inline-block;
            @include content;
        }
        >li:first-child{
            margin-top: 32px;            
        }
        >li:nth-child(2),li:last-child{
            margin-top: 15px;            
        }
    }
}